<html>
<head>
<title>Docs For Class QueryTemplatesSyntaxCode</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">QueryTemplates</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                                                  		  [ <a href="../classtrees_QueryTemplates.html" class="menu">class tree: QueryTemplates</a> ]
		  [ <a href="../elementindex_QueryTemplates.html" class="menu">index: QueryTemplates</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
	<div id="todolist">
			<p><a href="../todolist.html">Todo List</a></p>
	</div>
      <b>Packages:</b><br />
              <a href="../li_QueryTemplates.html">QueryTemplates</a><br />
              <a href="../li_phpQuery.html">phpQuery</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---IQueryTemplatesParse.php.html">		IQueryTemplatesParse.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---IQueryTemplatesTemplate.php.html">		IQueryTemplatesTemplate.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplates.php.html">		QueryTemplates.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesLanguage.php.html">		QueryTemplatesLanguage.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesLanguageJS.php.html">		QueryTemplatesLanguageJS.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesLanguagePHP.php.html">		QueryTemplatesLanguagePHP.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesParse.php.html">		QueryTemplatesParse.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesSource.php.html">		QueryTemplatesSource.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesSourceQuery.php.html">		QueryTemplatesSourceQuery.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesSyntax.php.html">		QueryTemplatesSyntax.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesSyntaxCode.php.html">		QueryTemplatesSyntaxCode.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesSyntaxConditions.php.html">		QueryTemplatesSyntaxConditions.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesSyntaxDOM.php.html">		QueryTemplatesSyntaxDOM.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesSyntaxGenerators.php.html">		QueryTemplatesSyntaxGenerators.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesSyntaxValues.php.html">		QueryTemplatesSyntaxValues.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesSyntaxVars.php.html">		QueryTemplatesSyntaxVars.php
		</a><br>
			<a href="../QueryTemplates/_home---bob---workspace---QueryTemplates---src---QueryTemplatesTemplate.php.html">		QueryTemplatesTemplate.php
		</a><br>
	  </div><br />
      
            <b>Interfaces:</b><br />
        <div class="package">
		    		<a href="../QueryTemplates/IQueryTemplatesParse.html">IQueryTemplatesParse</a><br />
	    		<a href="../QueryTemplates/IQueryTemplatesParseChain.html">IQueryTemplatesParseChain</a><br />
	    		<a href="../QueryTemplates/IQueryTemplatesTemplate.html">IQueryTemplatesTemplate</a><br />
	    		<a href="../QueryTemplates/IQueryTemplatesTemplateChain.html">IQueryTemplatesTemplateChain</a><br />
	    		<a href="../QueryTemplates/IQueryTemplatesTemplateParse.html">IQueryTemplatesTemplateParse</a><br />
	    		<a href="../QueryTemplates/IQueryTemplatesTemplateSources.html">IQueryTemplatesTemplateSources</a><br />
	  </div>
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../QueryTemplates/QueryTemplates.html">QueryTemplates</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesLanguage.html">QueryTemplatesLanguage</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesLanguageJS.html">QueryTemplatesLanguageJS</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesLanguagePHP.html">QueryTemplatesLanguagePHP</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesSource.html">QueryTemplatesSource</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesSourceQuery.html">QueryTemplatesSourceQuery</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesSyntax.html">QueryTemplatesSyntax</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html">QueryTemplatesSyntaxCode</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesSyntaxConditions.html">QueryTemplatesSyntaxConditions</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesSyntaxDOM.html">QueryTemplatesSyntaxDOM</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesSyntaxGenerators.html">QueryTemplatesSyntaxGenerators</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesSyntaxValues.html">QueryTemplatesSyntaxValues</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesSyntaxVars.html">QueryTemplatesSyntaxVars</a><br />
	    		<a href="../QueryTemplates/QueryTemplatesTemplate.html">QueryTemplatesTemplate</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: QueryTemplatesSyntaxCode</h1>
Source Location: /home/bob/workspace/QueryTemplates/src/QueryTemplatesSyntaxCode.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre><a href="../phpQuery/phpQueryObject.html">phpQueryObject</a>
   |
   --<a href="../QueryTemplates/QueryTemplatesSyntaxDOM.html">QueryTemplatesSyntaxDOM</a>
      |
      --<a href="../QueryTemplates/QueryTemplatesSyntaxValues.html">QueryTemplatesSyntaxValues</a>
         |
         --QueryTemplatesSyntaxCode</pre><br />
<div class="description">Class extending phpQueryObject with templating methods.</div><br /><br />
<h4>Author(s):</h4>
<ul>
          <li>Tobiasz Cudnik &lt;<a href="mailto:tobiasz.cudnik/gmail.com">tobiasz.cudnik/gmail.com</a>&gt;</li>
                        </ul>




                

        
</td>



<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelector">codeToSelector</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorAfter">codeToSelectorAfter</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorAppend">codeToSelectorAppend</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorAttr">codeToSelectorAttr</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorBefore">codeToSelectorBefore</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorPrepend">codeToSelectorPrepend</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorReplace">codeToSelectorReplace</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStack">codeToStack</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackAfter">codeToStackAfter</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackAppend">codeToStackAppend</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackAttr">codeToStackAttr</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackBefore">codeToStackBefore</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackPrepend">codeToStackPrepend</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackReplace">codeToStackReplace</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#method_codeToSelector">_codeToSelector</a></li>
    <li><a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#method_codeToStack">_codeToStack</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>


<td valign="top">
<h3>Child classes:</h3>
<div class="tags">
<dl>
<dt><a href="../QueryTemplates/QueryTemplatesSyntaxConditions.html">QueryTemplatesSyntaxConditions</a></dt>
	<dd>Class extending phpQueryObject with templating methods.</dd>
</dl>
</div>
</td>


<td valign="top">
<h3>Inherited Variables</h3>
<div class="tags">
<h4>Class: <a href="../phpQuery/phpQueryObject.html">phpQueryObject</a></h4>
<dl>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$charset">phpQueryObject::$charset</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$current">phpQueryObject::$current</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$document">phpQueryObject::$document</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$documentFragment">phpQueryObject::$documentFragment</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$documentID">phpQueryObject::$documentID</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$documentWrapper">phpQueryObject::$documentWrapper</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$elements">phpQueryObject::$elements</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$elementsBackup">phpQueryObject::$elementsBackup</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$elementsInterator">phpQueryObject::$elementsInterator</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$previous">phpQueryObject::$previous</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$root">phpQueryObject::$root</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$valid">phpQueryObject::$valid</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../phpQuery/phpQueryObject.html#var$xpath">phpQueryObject::$xpath</a>
  </dt>
<dd>
   
</dd>
</dl>
</div>
</td>

<td valign="top">
<h3>Inherited Methods</h3>
<div class="tags">
<h4>Class: <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html">QueryTemplatesSyntaxValues</a></h4>
<dl>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToForm">QueryTemplatesSyntaxValues::valuesToForm()</a>
  </dt>
  <dd>
    Toggles form fields values and selection states according to static values  from $values.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToLoop">QueryTemplatesSyntaxValues::valuesToLoop()</a>
  </dt>
  <dd>
    Method loops provided $values on actually selected nodes. Each time new row  is inserted, provided callback is triggered with $dataRow, $node and $dataIndex.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToLoopBefore">QueryTemplatesSyntaxValues::valuesToLoopBefore()</a>
  </dt>
  <dd>
    Method loops provided $values on actually selected nodes. Each time new row  is inserted, provided callback is triggered with $dataRow, $node and $dataIndex.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToLoopFirst">QueryTemplatesSyntaxValues::valuesToLoopFirst()</a>
  </dt>
  <dd>
    Method loops provided $values on actually selected nodes. Each time new row  is inserted, provided callback is triggered with $dataRow, $node and $dataIndex.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToLoopSeparate">QueryTemplatesSyntaxValues::valuesToLoopSeparate()</a>
  </dt>
  <dd>
    Method loops provided $values on actually selected nodes. Each time new row  is inserted, provided callback is triggered with $dataRow, $node and $dataIndex.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToStack">QueryTemplatesSyntaxValues::valuesToStack()</a>
  </dt>
  <dd>
    Injects markup from $values' content (rows or attributes) inside actually  selected nodes.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToStackAfter">QueryTemplatesSyntaxValues::valuesToStackAfter()</a>
  </dt>
  <dd>
    Injects markup from $values' content (rows or attributes) inside actually  selected nodes.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToStackAppend">QueryTemplatesSyntaxValues::valuesToStackAppend()</a>
  </dt>
  <dd>
    Injects markup from $values' content (rows or attributes) inside actually  selected nodes.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToStackAttr">QueryTemplatesSyntaxValues::valuesToStackAttr()</a>
  </dt>
  <dd>
    Injects markup from $values' content (rows or attributes) inside actually  selected nodes.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToStackBefore">QueryTemplatesSyntaxValues::valuesToStackBefore()</a>
  </dt>
  <dd>
    Injects markup from $values' content (rows or attributes) inside actually  selected nodes.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToStackPrepend">QueryTemplatesSyntaxValues::valuesToStackPrepend()</a>
  </dt>
  <dd>
    Injects markup from $values' content (rows or attributes) inside actually  selected nodes.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#methodvaluesToStackReplace">QueryTemplatesSyntaxValues::valuesToStackReplace()</a>
  </dt>
  <dd>
    Injects markup from $values' content (rows or attributes) inside actually  selected nodes.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#method_valuesToLoop">QueryTemplatesSyntaxValues::_valuesToLoop()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxValues.html#method_valuesToStack">QueryTemplatesSyntaxValues::_valuesToStack()</a>
  </dt>
  <dd>
    
  </dd>
  </dl>
<h4>Class: <a href="../QueryTemplates/QueryTemplatesSyntaxDOM.html">QueryTemplatesSyntaxDOM</a></h4>
<dl>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxDOM.html#methodattrAppend">QueryTemplatesSyntaxDOM::attrAppend()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxDOM.html#methodattrPrepend">QueryTemplatesSyntaxDOM::attrPrepend()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxDOM.html#methodstackToMethod">QueryTemplatesSyntaxDOM::stackToMethod()</a>
  </dt>
  <dd>
    Returns array being result of running $method on all stack elements.
  </dd>
    <dt>
    <a href="../QueryTemplates/QueryTemplatesSyntaxDOM.html#methodunWrap">QueryTemplatesSyntaxDOM::unWrap()</a>
  </dt>
  <dd>
    Removes selected element and moves it's children into parent node.
  </dd>
  </dl>
<h4>Class: <a href="../phpQuery/phpQueryObject.html">phpQueryObject</a></h4>
<dl>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method__construct">phpQueryObject::__construct()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodadd">phpQueryObject::add()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodaddClass">phpQueryObject::addClass()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodaddClassPHP">phpQueryObject::addClassPHP()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodafter">phpQueryObject::after()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodafterPHP">phpQueryObject::afterPHP()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodancestors">phpQueryObject::ancestors()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodandSelf">phpQueryObject::andSelf()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodappend">phpQueryObject::append()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodappendPHP">phpQueryObject::appendPHP()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodappendTo">phpQueryObject::appendTo()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodattr">phpQueryObject::attr()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodattrEvents">phpQueryObject::attrEvents()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodattrPHP">phpQueryObject::attrPHP()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodbefore">phpQueryObject::before()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodbeforePHP">phpQueryObject::beforePHP()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodbind">phpQueryObject::bind()</a>
  </dt>
  <dd>
    Binds a handler to one or more events (like click) for each matched element.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodcallback">phpQueryObject::callback()</a>
  </dt>
  <dd>
    Run callback on actual object.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodchange">phpQueryObject::change()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodchildren">phpQueryObject::children()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodclick">phpQueryObject::click()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodcontents">phpQueryObject::contents()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodcontentsUnwrap">phpQueryObject::contentsUnwrap()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodcount">phpQueryObject::count()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodcss">phpQueryObject::css()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodcurrent">phpQueryObject::current()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methoddebug">phpQueryObject::debug()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methoddocumentFragment">phpQueryObject::documentFragment()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methoddump">phpQueryObject::dump()</a>
  </dt>
  <dd>
    Dump htmlOuter and preserve chain. Usefull for debugging.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methoddumpDie">phpQueryObject::dumpDie()</a>
  </dt>
  <dd>
    Dump htmlOuter and stop script execution. Usefull for debugging.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methoddumpLength">phpQueryObject::dumpLength()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methoddumpTree">phpQueryObject::dumpTree()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methoddumpWhois">phpQueryObject::dumpWhois()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodeach">phpQueryObject::each()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodelementsContainsNode">phpQueryObject::elementsContainsNode()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodend">phpQueryObject::end()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodeq">phpQueryObject::eq()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodextend">phpQueryObject::extend()</a>
  </dt>
  <dd>
    Deprecated, use $pq-&gt;plugin() instead.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodfilter">phpQueryObject::filter()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodfilterCallback">phpQueryObject::filterCallback()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodfind">phpQueryObject::find()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodget">phpQueryObject::get()</a>
  </dt>
  <dd>
    Return matched DOM nodes.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodgetDocument">phpQueryObject::getDocument()</a>
  </dt>
  <dd>
    Returns object with stack set to document root.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodgetDocumentID">phpQueryObject::getDocumentID()</a>
  </dt>
  <dd>
    Get object's Document ID.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodgetDocumentIDRef">phpQueryObject::getDocumentIDRef()</a>
  </dt>
  <dd>
    Saves object's DocumentID to $var by reference.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodgetDOMDocument">phpQueryObject::getDOMDocument()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodgetElementSiblings">phpQueryObject::getElementSiblings()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodgetNodeAttrs">phpQueryObject::getNodeAttrs()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodgetNodeXpath">phpQueryObject::getNodeXpath()</a>
  </dt>
  <dd>
    Returns node's XPath.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodgetString">phpQueryObject::getString()</a>
  </dt>
  <dd>
    Return matched DOM nodes.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodgetStrings">phpQueryObject::getStrings()</a>
  </dt>
  <dd>
    Return matched DOM nodes.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodhasClass">phpQueryObject::hasClass()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodhide">phpQueryObject::hide()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodhtml">phpQueryObject::html()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodhtmlOuter">phpQueryObject::htmlOuter()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodindex">phpQueryObject::index()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodinsert">phpQueryObject::insert()</a>
  </dt>
  <dd>
    Internal insert method. Don't use it.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodinsertAfter">phpQueryObject::insertAfter()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodinsertBefore">phpQueryObject::insertBefore()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodis">phpQueryObject::is()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodisChar">phpQueryObject::isChar()</a>
  </dt>
  <dd>
    Determines if $char is really a char.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodisHTML">phpQueryObject::isHTML()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodisRegexp">phpQueryObject::isRegexp()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodisRoot">phpQueryObject::isRoot()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodisXHTML">phpQueryObject::isXHTML()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodisXML">phpQueryObject::isXML()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodkey">phpQueryObject::key()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodlength">phpQueryObject::length()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodload">phpQueryObject::load()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodmap">phpQueryObject::map()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodmarkup">phpQueryObject::markup()</a>
  </dt>
  <dd>
    jQuey difference
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodmarkupEvents">phpQueryObject::markupEvents()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodmarkupOuter">phpQueryObject::markupOuter()</a>
  </dt>
  <dd>
    jQuey difference
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodmarkupOuterPHP">phpQueryObject::markupOuterPHP()</a>
  </dt>
  <dd>
    TODO doc
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodmarkupPHP">phpQueryObject::markupPHP()</a>
  </dt>
  <dd>
    TODO doc
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodmatchClasses">phpQueryObject::matchClasses()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodmerge">phpQueryObject::merge()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodnewInstance">phpQueryObject::newInstance()</a>
  </dt>
  <dd>
    Returns new instance of actual class.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodnext">phpQueryObject::next()</a>
  </dt>
  <dd>
    Double-function method.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodnextAll">phpQueryObject::nextAll()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodnot">phpQueryObject::not()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodoffsetExists">phpQueryObject::offsetExists()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodoffsetGet">phpQueryObject::offsetGet()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodoffsetSet">phpQueryObject::offsetSet()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodoffsetUnset">phpQueryObject::offsetUnset()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodparent">phpQueryObject::parent()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodparents">phpQueryObject::parents()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodparseSelector">phpQueryObject::parseSelector()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodphp">phpQueryObject::php()</a>
  </dt>
  <dd>
    Just like html(), but returns markup with VALID (dangerous) PHP tags.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodplugin">phpQueryObject::plugin()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodprepend">phpQueryObject::prepend()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodprependPHP">phpQueryObject::prependPHP()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodprependTo">phpQueryObject::prependTo()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodprev">phpQueryObject::prev()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodprevAll">phpQueryObject::prevAll()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodpseudoClasses">phpQueryObject::pseudoClasses()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodremove">phpQueryObject::remove()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodremoveAttr">phpQueryObject::removeAttr()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodremoveClass">phpQueryObject::removeClass()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodreplaceAll">phpQueryObject::replaceAll()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodreplaceWith">phpQueryObject::replaceWith()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodreplaceWithPHP">phpQueryObject::replaceWithPHP()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodreverse">phpQueryObject::reverse()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodrewind">phpQueryObject::rewind()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodrunQuery">phpQueryObject::runQuery()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodserialize">phpQueryObject::serialize()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodserializeArray">phpQueryObject::serializeArray()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodshow">phpQueryObject::show()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodsiblings">phpQueryObject::siblings()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodsize">phpQueryObject::size()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodslice">phpQueryObject::slice()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodstack">phpQueryObject::stack()</a>
  </dt>
  <dd>
    Internal stack iterator.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodstackIsRoot">phpQueryObject::stackIsRoot()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodsubmit">phpQueryObject::submit()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodswitchWith">phpQueryObject::switchWith()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodtext">phpQueryObject::text()</a>
  </dt>
  <dd>
    Return joined text content.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodtoggleClass">phpQueryObject::toggleClass()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodtoReference">phpQueryObject::toReference()</a>
  </dt>
  <dd>
    Saves actual object to $var by reference.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodtoRoot">phpQueryObject::toRoot()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodtrigger">phpQueryObject::trigger()</a>
  </dt>
  <dd>
    Trigger a type of event on every matched element.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodtriggerHandler">phpQueryObject::triggerHandler()</a>
  </dt>
  <dd>
    This particular method triggers all bound event handlers on an element (for a specific event type) WITHOUT executing the browsers default actions.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodunbind">phpQueryObject::unbind()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodunloadDocument">phpQueryObject::unloadDocument()</a>
  </dt>
  <dd>
    Unloads whole document from memory.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodunQuote">phpQueryObject::unQuote()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodval">phpQueryObject::val()</a>
  </dt>
  <dd>
    Return form element value.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodvalid">phpQueryObject::valid()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodwhois">phpQueryObject::whois()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodwrap">phpQueryObject::wrap()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodwrapAll">phpQueryObject::wrapAll()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodwrapAllOld">phpQueryObject::wrapAllOld()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodwrapAllPHP">phpQueryObject::wrapAllPHP()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodwrapInner">phpQueryObject::wrapInner()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodwrapInnerPHP">phpQueryObject::wrapInnerPHP()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodwrapPHP">phpQueryObject::wrapPHP()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodxml">phpQueryObject::xml()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#methodxmlOuter">phpQueryObject::xmlOuter()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method_clone">phpQueryObject::_clone()</a>
  </dt>
  <dd>
    Enter description here...
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method_empty">phpQueryObject::_empty()</a>
  </dt>
  <dd>
    Proper name without underscore (just -&gt;empty()) also works.
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method_next">phpQueryObject::_next()</a>
  </dt>
  <dd>
    Safe rename of next().
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method_prev">phpQueryObject::_prev()</a>
  </dt>
  <dd>
    Use prev() and next().
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method__call">phpQueryObject::__call()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method__get">phpQueryObject::__get()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method__loadSuccess">phpQueryObject::__loadSuccess()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method__pseudoClassParam">phpQueryObject::__pseudoClassParam()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method__toString">phpQueryObject::__toString()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../phpQuery/phpQueryObject.html#method___wrapAllCallback">phpQueryObject::___wrapAllCallback()</a>
  </dt>
  <dd>
    
  </dd>
  </dl>
</div>
</td>

</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 11]<br />
Class extending phpQueryObject with templating methods.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Tobiasz Cudnik &lt;<a href="mailto:tobiasz.cudnik/gmail.com">tobiasz.cudnik/gmail.com</a>&gt;</td>
  </tr>
  <tr>
    <td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://code.google.com/p/querytemplates/">http://code.google.com/p/querytemplates/</a></td>
  </tr>
  <tr>
    <td><b>abstract:</b>&nbsp;&nbsp;</td><td></td>
  </tr>
  <tr>
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a></td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />


<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="methodcodeToSelector"></a>
	<h3>method codeToSelector <span class="smalllinenumber">[line 87]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToSelector(
String
$codeArray, [String
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code inside nodes matched by selector. Method uses  actually matched nodes as root for the query.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field1'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field2'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field1'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field2'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelector">codeToSelector</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;&lt;p&nbsp;class=&quot;field1&quot;&gt;<span class="src-php">&lt;?php&nbsp;&nbsp;</span>print&nbsp;<span class="src-str">&quot;abba&quot;</span><span class="src-sym">;&nbsp;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/p&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;p&nbsp;class=&quot;field2&quot;&gt;<span class="src-php">&lt;?php&nbsp;&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">1</span><span class="src-sym">,&nbsp;</span><span class="src-num">2</span><span class="src-sym">,&nbsp;</span><span class="src-num">3</span><span class="src-sym">)&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$i</span><span class="src-sym">)&nbsp;</span>print&nbsp;<span class="src-var">$i&nbsp;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/p&gt;</div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">PHP</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">PHP</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::varsToStack()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td>Defines pattern matching target nodes. %k represents key.  Defaults to &quot;.%k&quot;, which matches nodes with class name equivalent to  variables key (field).  For example, to restrict match to nodes with additional class &quot;foo&quot; change  $selectorPattern to &quot;.foo.%k&quot;</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of keys from $varValue which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToSelectorAfter"></a>
	<h3>method codeToSelectorAfter <span class="smalllinenumber">[line 408]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToSelectorAfter(
String
$codeArray, [String
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code after nodes matched by selector. Method uses  actually matched nodes as root for the query.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field1'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field2'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field1'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field2'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorAfter">codeToSelectorAfter</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;&lt;p&nbsp;class=&quot;field1&quot;&gt;lorem&nbsp;ipsum&lt;/p&gt;</div></li>
<li><div class="src-line">&nbsp;<span class="src-php">&lt;?php&nbsp;&nbsp;</span>print&nbsp;<span class="src-str">&quot;abba&quot;</span><span class="src-sym">;&nbsp;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
<li><div class="src-line">&nbsp;&lt;p&nbsp;class=&quot;field2&quot;&gt;lorem&nbsp;ipsum&lt;/p&gt;</div></li>
<li><div class="src-line">&nbsp;<span class="src-php">&lt;?php&nbsp;&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">1</span><span class="src-sym">,&nbsp;</span><span class="src-num">2</span><span class="src-sym">,&nbsp;</span><span class="src-num">3</span><span class="src-sym">)&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$i</span><span class="src-sym">)&nbsp;</span>print&nbsp;<span class="src-var">$i&nbsp;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">PHP</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">PHP</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::varsToStack()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td>Defines pattern matching target nodes. %k represents key.  Defaults to &quot;.%k&quot;, which matches nodes with class name equivalent to  variables key (field).  For example, to restrict match to nodes with additional class &quot;foo&quot; change  $selectorPattern to &quot;.foo.%k&quot;</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of keys from $varValue which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToSelectorAppend"></a>
	<h3>method codeToSelectorAppend <span class="smalllinenumber">[line 246]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToSelectorAppend(
String
$codeArray, [String
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null], String
$attr)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code at the end of nodes matched by selector. Method  uses actually matched nodes as root for the query.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field1'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field2'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field1'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field2'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorAppend">codeToSelectorAppend</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;&lt;p&nbsp;class=&quot;field1&quot;&gt;lorem&nbsp;ipsum<span class="src-php">&lt;?php&nbsp;&nbsp;</span>print&nbsp;<span class="src-str">&quot;abba&quot;</span><span class="src-sym">;&nbsp;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/p&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;p&nbsp;class=&quot;field2&quot;&gt;lorem&nbsp;ipsum<span class="src-php">&lt;?php&nbsp;&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">1</span><span class="src-sym">,&nbsp;</span><span class="src-num">2</span><span class="src-sym">,&nbsp;</span><span class="src-num">3</span><span class="src-sym">)&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$i</span><span class="src-sym">)&nbsp;</span>print&nbsp;<span class="src-var">$i&nbsp;&nbsp;</span><span class="src-php">?&gt;</span>&lt;/p&gt;</div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">PHP</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">PHP</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::varsToStack()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$attr</b>&nbsp;&nbsp;</td>
        <td>Target attribute name.</td>
      </tr>
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td>Defines pattern matching target nodes. %k represents key.  Defaults to &quot;.%k&quot;, which matches nodes with class name equivalent to  variables key (field).  For example, to restrict match to nodes with additional class &quot;foo&quot; change  $selectorPattern to &quot;.foo.%k&quot;</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of keys from $varValue which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToSelectorAttr"></a>
	<h3>method codeToSelectorAttr <span class="smalllinenumber">[line 569]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToSelectorAttr(
String
$attr, String
$codeArray, [String
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code inside attribute of nodes matched by selector.<br /><br /><p>Method uses actually matched nodes as root for the query.</p><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field1'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field2'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field1'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field2'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorAttr">codeToSelectorAttr</a><span class="src-sym">(</span><span class="src-str">'rel'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;&lt;p&nbsp;class=&quot;field1&quot;&nbsp;rel='<span class="src-php">&lt;?php&nbsp;&nbsp;</span>print&nbsp;<span class="src-str">&quot;abba&quot;</span><span class="src-sym">;&nbsp;&nbsp;</span><span class="src-php">?&gt;</span>'&gt;lorem&nbsp;ipsum&lt;/p&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;p&nbsp;class=&quot;field2&quot;&nbsp;rel=&quot;<span class="src-php">&lt;?php&nbsp;&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">1</span><span class="src-sym">,&nbsp;</span><span class="src-num">2</span><span class="src-sym">,&nbsp;</span><span class="src-num">3</span><span class="src-sym">)&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$i</span><span class="src-sym">)&nbsp;</span>print&nbsp;<span class="src-var">$i&nbsp;&nbsp;</span><span class="src-php">?&gt;</span>&quot;&gt;lorem&nbsp;ipsum&lt;/p&gt;</div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::varsToStack()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$attr</b>&nbsp;&nbsp;</td>
        <td>Target attribute name.</td>
      </tr>
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td>Defines pattern matching target nodes. %k represents key.  Defaults to &quot;.%k&quot;, which matches nodes with class name equivalent to  variables key (field).  For example, to restrict match to nodes with additional class &quot;foo&quot; change  $selectorPattern to &quot;.foo.%k&quot;</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of keys from $varValue which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToSelectorBefore"></a>
	<h3>method codeToSelectorBefore <span class="smalllinenumber">[line 488]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToSelectorBefore(
String
$codeArray, [String
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code before nodes matched by selector. Method uses  actually matched nodes as root for the query.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field1'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field2'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field1'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field2'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorBefore">codeToSelectorBefore</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php&nbsp;&nbsp;</span>print&nbsp;<span class="src-str">&quot;abba&quot;</span><span class="src-sym">;&nbsp;&nbsp;</span><span class="src-php">?&gt;</span>&lt;p&nbsp;class=&quot;field1&quot;&gt;lorem&nbsp;ipsum&lt;/p&gt;</div></li>
<li><div class="src-line">&nbsp;<span class="src-php">&lt;?php&nbsp;&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">1</span><span class="src-sym">,&nbsp;</span><span class="src-num">2</span><span class="src-sym">,&nbsp;</span><span class="src-num">3</span><span class="src-sym">)&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$i</span><span class="src-sym">)&nbsp;</span>print&nbsp;<span class="src-var">$i&nbsp;&nbsp;</span><span class="src-php">?&gt;</span>&lt;p&nbsp;class=&quot;field2&quot;&gt;lorem&nbsp;ipsum&lt;/p&gt;</div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">PHP</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">PHP</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::varsToStack()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td>Defines pattern matching target nodes. %k represents key.  Defaults to &quot;.%k&quot;, which matches nodes with class name equivalent to  variables key (field).  For example, to restrict match to nodes with additional class &quot;foo&quot; change  $selectorPattern to &quot;.foo.%k&quot;</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of keys from $varValue which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToSelectorPrepend"></a>
	<h3>method codeToSelectorPrepend <span class="smalllinenumber">[line 326]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToSelectorPrepend(
String
$codeArray, [String
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code at the beggining of nodes matched by selector.<br /><br /><p>Method uses actually matched nodes as root for the query.</p><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field1'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field2'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field1'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field2'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorPrepend">codeToSelectorPrepend</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;&lt;p&nbsp;class=&quot;field1&quot;&gt;<span class="src-php">&lt;?php&nbsp;&nbsp;</span>print&nbsp;<span class="src-str">&quot;abba&quot;</span><span class="src-sym">;&nbsp;&nbsp;</span><span class="src-php">?&gt;</span>lorem&nbsp;ipsum&lt;/p&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;p&nbsp;class=&quot;field2&quot;&gt;<span class="src-php">&lt;?php&nbsp;&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">1</span><span class="src-sym">,&nbsp;</span><span class="src-num">2</span><span class="src-sym">,&nbsp;</span><span class="src-num">3</span><span class="src-sym">)&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$i</span><span class="src-sym">)&nbsp;</span>print&nbsp;<span class="src-var">$i&nbsp;&nbsp;</span><span class="src-php">?&gt;</span>lorem&nbsp;ipsum&lt;/p&gt;</div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">PHP</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">PHP</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::varsToStack()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td>Defines pattern matching target nodes. %k represents key.  Defaults to &quot;.%k&quot;, which matches nodes with class name equivalent to  variables key (field).  For example, to restrict match to nodes with additional class &quot;foo&quot; change  $selectorPattern to &quot;.foo.%k&quot;</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of keys from $varValue which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToSelectorReplace"></a>
	<h3>method codeToSelectorReplace <span class="smalllinenumber">[line 163]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToSelectorReplace(
String
$codeArray, [String
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code replacing nodes matched by selector. Method uses  actually matched nodes as root for the query.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field1'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">p&nbsp;</span><span class="src-key">class</span>=<span class="src-str">'field2'</span>&gt;<span class="src-id">lorem&nbsp;ipsum</span>&lt;/<span class="src-id">p</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field1'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'field2'&nbsp;</span>=&gt;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToSelectorReplace">codeToSelectorReplace</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php&nbsp;&nbsp;</span>print&nbsp;<span class="src-str">&quot;abba&quot;</span><span class="src-sym">;&nbsp;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-php">&lt;?php&nbsp;&nbsp;</span><span class="src-key">foreach</span><span class="src-sym">(</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-num">1</span><span class="src-sym">,&nbsp;</span><span class="src-num">2</span><span class="src-sym">,&nbsp;</span><span class="src-num">3</span><span class="src-sym">)&nbsp;</span><span class="src-key">as&nbsp;</span><span class="src-var">$i</span><span class="src-sym">)&nbsp;</span>print&nbsp;<span class="src-var">$i&nbsp;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">p</span>.<span class="src-id">field2</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">Text</span>:<span class="src-id">lorem&nbsp;ipsum</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">PHP</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">PHP</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::varsToStack()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td>Defines pattern matching target nodes. %k represents key.  Defaults to &quot;.%k&quot;, which matches nodes with class name equivalent to  variables key (field).  For example, to restrict match to nodes with additional class &quot;foo&quot; change  $selectorPattern to &quot;.foo.%k&quot;</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of keys from $varValue which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToStack"></a>
	<h3>method codeToStack <span class="smalllinenumber">[line 664]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToStack(
String
$codeArray, [
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code inside actually matched nodes.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStack">codeToStack</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php&nbsp;&nbsp;</span>print&nbsp;<span class="src-str">&quot;abba&quot;</span><span class="src-sym">;&nbsp;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">PHP</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::codeToSelector()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of fields from $codeArray which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToStackAfter"></a>
	<h3>method codeToStackAfter <span class="smalllinenumber">[line 971]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToStackAfter(
String
$codeArray, [
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code after actually matched nodes.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackAfter">codeToStackAfter</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::codeToSelector()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of fields from $codeArray which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToStackAppend"></a>
	<h3>method codeToStackAppend <span class="smalllinenumber">[line 817]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToStackAppend(
String
$codeArray, [
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code at the beggining of actually matched nodes.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackAppend">codeToStackAppend</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;&lt;node1&gt;&lt;node2&gt;&lt;/node2&gt;&lt;/node1&gt;&lt;node2&gt;&lt;/node2&gt;&lt;node1&gt;&lt;node2&gt;&lt;/node2&gt;&lt;/node1&gt;<span class="src-php">&lt;?php&nbsp;&nbsp;</span>print&nbsp;<span class="src-str">&quot;abba&quot;</span><span class="src-sym">;&nbsp;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">PHP</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::codeToSelector()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of fields from $codeArray which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToStackAttr"></a>
	<h3>method codeToStackAttr <span class="smalllinenumber">[line 1126]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToStackAttr(
String
$attr, String
$codeArray, [
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code inside attribute of actually matched nodes.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackAttr">codeToStackAttr</a><span class="src-sym">(</span><span class="src-str">'rel'</span><span class="src-sym">,&nbsp;</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::codeToSelector()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$attr</b>&nbsp;&nbsp;</td>
        <td>Target attribute name.</td>
      </tr>
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of fields from $codeArray which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToStackBefore"></a>
	<h3>method codeToStackBefore <span class="smalllinenumber">[line 1047]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToStackBefore(
String
$codeArray, [
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code before actually matched nodes.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackBefore">codeToStackBefore</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::codeToSelector()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of fields from $codeArray which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToStackPrepend"></a>
	<h3>method codeToStackPrepend <span class="smalllinenumber">[line 895]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToStackPrepend(
String
$codeArray, [
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code at the end of actually matched nodes.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackPrepend">codeToStackPrepend</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;<span class="src-php">&lt;?php&nbsp;&nbsp;</span>print&nbsp;<span class="src-str">&quot;abba&quot;</span><span class="src-sym">;&nbsp;&nbsp;</span><span class="src-php">?&gt;</span></div></li>
<li><div class="src-line">&nbsp;&lt;node1&gt;&lt;node2&gt;&lt;/node2&gt;&lt;/node1&gt;&lt;node2&gt;&lt;/node2&gt;&lt;node1&gt;&lt;node2&gt;&lt;/node2&gt;&lt;/node1&gt;</div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">PHP</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::codeToSelector()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of fields from $codeArray which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodcodeToStackReplace"></a>
	<h3>method codeToStackReplace <span class="smalllinenumber">[line 740]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../QueryTemplates/QueryTemplatesParse.html">QueryTemplatesParse</a>|QueryTemplatesPhpQuery codeToStackReplace(
String
$codeArray, [
$selectorPattern = '.%k'], [Array
$skipFields = null], [Callback|string
$fieldCallback = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Injects raw executable code replacing actually matched nodes.<br /><br /><p>Method doesn't change selected elements stack.</p><p>== Example ==</p><p>=== Markup ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;</div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&lt;<span class="src-id">node2</span>/&gt;</div></li>
<li><div class="src-line">&nbsp;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Data ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$code&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'print&nbsp;&quot;abba&quot;;'</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'foreach(array(1,&nbsp;2,&nbsp;3)&nbsp;as&nbsp;$i)&nbsp;print&nbsp;$i'</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>=== `QueryTemplates` formula ===  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../QueryTemplates/QueryTemplatesSyntaxCode.html#methodcodeToStackReplace">codeToStackReplace</a><span class="src-sym">(</span><span class="src-var">$code</span><span class="src-sym">)</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-sym">;</span></div></li>
</ol></p><p>=== Template ===  <ol><li><div class="src-line">&nbsp;&lt;<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;<span class="src-id">node1</span>&gt;&lt;<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node2</span>&gt;&lt;/<span class="src-id">node1</span>&gt;</div></li>
</ol></p><p>=== Template tree before ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><p>=== Template tree after ===  <ol><li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node2</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-id">node1</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;-&nbsp;<span class="src-id">node2</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>QueryTemplatesPhpQuery::codeToSelector()</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">String&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td>Array of raw code, where key is the field.</td>
      </tr>
          <tr>
        <td class="type">Array&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td>Array of fields from $codeArray which should be skipped.</td>
      </tr>
          <tr>
        <td class="type">Callback|string&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td>Callback triggered after every insertion. Three parameters are passed to  this callback: <ul><li>$node phpQueryObject</li><li>$field String</li><li>$target String|array</li></ul></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="method_codeToSelector"></a>
	<h3>method _codeToSelector <span class="smalllinenumber">[line 572]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void _codeToSelector(

$target, 
$codeArray, 
$selectorPattern, 
$skipFields, 
$fieldCallback)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$target</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="method_codeToStack"></a>
	<h3>method _codeToStack <span class="smalllinenumber">[line 1129]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void _codeToStack(

$target, 
$codeArray, 
$selectorPattern, 
$skipFields, 
$fieldCallback)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$target</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$codeArray</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$selectorPattern</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$skipFields</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$fieldCallback</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Sat, 07 Mar 2009 12:08:18 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.2</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>